package base.adpter.mclass;

/**
 * @program: DesignPatterns
 * @description: 对输入值进行改变输出
 * @author: Mr.Dai
 * @create: 2018-04-10 17:22
 **/
public class Banner {

    private String str;

    public Banner(String str) {
        this.str = str;
    }
    public void printStarWeak(){
        System.out.println("**"+this.str+"** ");
    }
    public void printStarStrong(){
        System.out.println("##"+this.str+"##");
    }
}
